package com.qwb.weibo.Service;

import com.qwb.weibo.Model.User;

import javax.servlet.http.HttpSession;

/**
 * Created by Jason on 2016/12/20.
 */
public interface UserService {

    //增加用户
    int register(User user, HttpSession session);

    //根据用户名和密码查询用户
    User login(String userName,String passWord);

}
